#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>

int main(void)
{
	int m = 6;
	int n = 1;
	int i = 0;
	
	while (m)
	{
		for (i = 0; i < m; i++)
		{
			printf(" ");
		}
		for (i = 0; i < n; i++)
		{
			printf("*");
		}
		n = n + 2;
		for (i = 0; i < m; i++)
		{
			printf(" ");
		}
		m = m - 1;
		printf("\n");
	}
	printf("*************\n");
	m = 1;
	n = 11;
	i = 0;
	while (n)
	{
		for (i = 0; i < m; i++)
		{
			printf(" ");
		}
		for (i = 0; i < n; i++)
		{
			printf("*");
		}
		for (i = 0; i < m; i++)
		{
			printf(" ");
		}
		m = m + 1;
		n = n - 2;
		printf("\n");
		if (n < 1)
		{
			break;
		}
	}
		
	
	return 0;
}